import request from '@/utils/request'

// 查询检查费用列表  此处传递的是对象
export function listCharge(query) {
  return request({
    url: '/collect/charge/list',
    method: 'get',
    params: query
  })
}

export function listRegister(query) {
  return request({
    url: '/collect/charge/registerList',
    method: 'get',
    params: query
  })
}

export function listDoctorRegister(query) {
  return request({
    url: '/collect/charge/listDoctorRegister',
    method: 'get',
    params: query
  })
}

export function pay(id,patientId) {
  return request({
    url: '/collect/charge/'+id+"/"+patientId,
    method: 'get',
    params:id
  })
}




